<?php
$this->breadcrumbs=array(
	'Sự kiện nhân vật <strong>' . $model->nickname . '</strong> đã tham gia',	
);
?>
<!-- Docs Top Events Slider -->
<?php $this->widget('TopSlider'); ?>
<!-- Docs Main Content -->
<div class="row">
    <div class="col-xs-2 col-left">
        <!-- Docs Categories -->
        <?php $this->widget('Category'); ?>
        <!-- Docs Advance Search -->
        <?php $this->widget('Search'); ?>
        <!-- Docs Support -->
        <?php $this->widget('Support'); ?>
    </div>
    <div class="col-xs-7 col-middle">
    	<div class="event-header">
        	<div class="row">
                <div class="col-xs-12">
                    <h1>Danh sách sự kiện</h1>
                </div>
            </div>
        </div>
<?php $this->widget('zii.widgets.CListView', array(
	'id'=>'event-list',
	'dataProvider'=>$dataProvider,
	'itemView'=>'application.modules.Events.views.default._view',
	'summaryText'=>'',//'Hiển thị sự kiện trang {page}/{pages}',
	'summaryCssClass'=>'text-right',
	'afterAjaxUpdate'=>'js: function(){
		$("html, body").animate({
			scrollTop: $("#event-list").offset().top
		}, 2000);
	}',
	'pagerCssClass'=>'text-center',
	'pager'=>array(
        'header'=>'',
		'maxButtonCount'=>10,
        'header'=>'',
        'prevPageLabel'=>'&laquo;',
        'nextPageLabel'=>'&raquo;',
        'firstPageLabel'=>'Trang đầu',
        'lastPageLabel'=>'Trang cuối',
        'footer'=>'',
		'selectedPageCssClass'=>'active',
		'hiddenPageCssClass'=>'disabled',
        'htmlOptions'=>array(
            'class'=>'pagination pagination-sm',
        ),
    ),
	'htmlOptions'=>array(
		'class'=>''
	),
)); ?>
    </div>
    <div class="col-xs-3 col-right">
        <!-- Docs Calendar -->
        <?php $this->widget('Calendar'); ?>
        <!-- Docs Events Popular -->
        <?php $this->widget('EventPopular'); ?>
        <!-- Docs News -->
        <?php $this->widget('NewsPopular'); ?>
        <!-- Docs Activities -->
        <?php $this->widget('Activities'); ?>
    </div>
</div>
